import request from '@/utils/request';
// 能力服务分析模块

// 查询能力服务集合
export function queryDataByAbilityServer(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/middle-platform/modules/abilityServerAnalysis/queryDataByAbilityServer',
		method: 'post',
		data: data,
	});
}
// 响应耗时分布
export function queryDataResponseTimeDistribution(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/middle-platform/modules/indicatorData/queryDataResponseTimeDistribution',
		method: 'post',
		data: data,
	});
}
// 查询服务对应的API调用量变化趋势
export function queryDataReqCountTrend(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/middle-platform/modules/indicatorData/queryDataReqCountTrend',
		method: 'post',
		data: data,
	});
}
